WpAssetCleanUp\OptimiseAssets\OptimizeCss D

Total Complexity 366
Dependencies 18
Dependents 9
Total lines 1,629
Lines of code 963
Logical lines of code 616
Comment lines 369
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
maybeOptimizeIt()
D
21
61 160
isOptimizeCssEnabledByOtherParty()
D
29 55 89
updateHtmlSourceOriginalToOptimizedCss()
D
28
43 111
alterHtmlSource()
C
33 31 86
prepareOptimizeList()
C
36 28 69
doInline()
C
35 25 79
maybeAlterContentForInlineStyleTag()
A
43 16 45
proceedWithCssCombine()
A
47 16 34
getInlineAssociatedWithLinkHandle()
A
49 13 26
updateOriginalToOptimizedTag()
A
46 12 35
ignoreDependencyRuleAndKeepChildrenLoaded()
A
52 10 22
maybeFixCssContent()
A
43 6 48
maybeAlterContentForCssFile()
S
55 6 19
triggersAfterInit()
S
55 5 19
importsUpdate()
S
60 5 12
isWpRocketOptimizeCssDeliveryEnabled()
S
61 5 12
isInlineCssEnabled()
S
62 5 11
generateInlineAssocHtmlForHandle()
S
59 3 16
init()
S
59 3 14
appendNoScriptCertainLinkTags()
S
59 3 13
getAllInlineChosenPatterns()
S
61 3 12
wpfcMinifyCssEnabledOnly()
S
65 3 8
isAutoInlineEnabled()
S
72 3 5
getFirstLinkTag()
S
64 3 9
skipAssetsFromAnyOptimize()
S
69 2 6
getRelPathCssCacheDir()
S
79 1 3